<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>music</title>
</head>
<body>
    <table border="1px">
        <thead>
            <tr>
                <td>编号</td>
                <td>音乐名</td>
                <td>价格</td>
                <td>发布时间</td>
                <td>作者</td>
                <td>操作</td>
            </tr>
        </thead>
        <tbody>
            {% for item in music %}
            <tr>
                <td>{{ item.id }}</td>
                <td>{{ item.name }}</td>
                <td>{{ item.price }}</td>
                <td>{{ item.time }}</td>
                <td>{{ item.author }}</td>
                <td>
                    <a href="">修改</a>
                    <a href="/music/del/?id={{item.id}}">删除</a>
                </td>
            </tr>
            {% endfor %}
        </tbody>
    </table>
</body>
</html>